﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Doves.DataAccessLayer;
using Doves.Utilities;

namespace Doves.BussinessLayer
{
    public class ContentReplacingBO : BaseBO
    {
        public IEnumerable<ContentReplacing> GetAllContentReplacing()
        {
            return _dao.ContentReplacing.GetAllContentReplacing();
        }
        public ContentReplacing GetContentReplacingById(int Id)
        {
            return _dao.ContentReplacing.GetContentReplacingById(Id);
        }
        public bool UpdateContentReplacing(ContentReplacing inContentReplacing)
        {
            return _dao.ContentReplacing.UpdateContentReplacing(inContentReplacing);
        }
        public bool InsertContentReplacing(ContentReplacing inContentReplacing)
        {
            return _dao.ContentReplacing.InsertContentReplacing(inContentReplacing);
        }

        public ReturnValue<bool> DelContentReplacing(int inId)
        {
            return _dao.ContentReplacing.DelContentReplacing(inId);
        }
        public ReturnValue<bool> DelContentReplacing(ContentReplacing inContentReplacing)
        {
            return _dao.ContentReplacing.DelContentReplacing(inContentReplacing);
        }
        public IEnumerable<ContentReplacing> GetContentReplacingByArticleAnalizerId(int inArticleAnalizerId)
        {
            return _dao.ContentReplacing.GetContentReplacingByArticleAnalizerId(inArticleAnalizerId);
        }
    }
}
